﻿
using System.Data;
using System.Data.Common;
namespace sharpxbot.Utils.Database
{
    public interface IDatabase
    {
        void Connect(string connectionString);
        void Disconnet();
        ConnectionState State { get; }

        DbCommand CreateCommand(string cmdText);
        object CreateCommandParameter(string paramName, object value);
    }
}
